package com.yunxi.order.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 业务针对主机厂
 * 订单修改审批申请主数据查询
 */
@Data
@ApiModel(value="订单修改审批申请主数据查询", description="订单修改审批申请主数据查询请求参数")
public class OrderApproveReqVO implements Serializable {
    @ApiModelProperty(value = "订货单号")
    private String orderCarId;
    @ApiModelProperty(value = "订单状态")
    private String checkStatus;
    @ApiModelProperty(value = "车系编码")
    private String seriesCode;
    @ApiModelProperty(value = "车型编码")
    private String modelCode;
    @ApiModelProperty(value = "内饰颜色编码")
    private String colorCodeIn;
    @ApiModelProperty(value = "外饰颜色编码")
    private String colorCodeOut;
    @ApiModelProperty(value = "配置编码")
    private String catalogCode;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "开始日期")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "结束日期")
    private Date endDate;
    @ApiModelProperty(value = "个人或大客户")
    private Integer orderType;
}
